# Gnuplot scipt file for plotting data in file "normal_bonanza.dat"
# This file is named normal_bonanza.p

set terminal png
set output "n_b_speedup.png"

unset log
#set logscale xy
#unset log y2

unset label

set xtic auto
set ytic auto

set autoscale
#set xrange [0:20]
#set yrange [0:8.00]

set xlabel "# of processors"
set ylabel "speedup"

plot "naive_bonanza.dat" using 1:((2.02e+8)/$2) title 'matrix size: 256' with linespoints, \
        "naive_bonanza.dat" using 1:((1.67e+9)/$3) title 'matrix size: 512' with linespoints, \
        "naive_bonanza.dat" using 1:((7.55e+9)/$4) title 'matrix size: 768' with linespoints, \
        "naive_bonanza.dat" using 1:((2.7e+10)/$5) title 'matrix size: 1024' with linespoints
